Step 1: t = 2. Left: {1=+} (pure, G=0), size 1/4. Right: {3=−,4=+,7=+}, GR = 1 − (1/3)² − (2/3)² ≈ 0.444, size 3/4. Weighted G = 0.25·0 + 0.75·0.444 ≈ 0.333.
Step 2: t = 5. Left: {1=+, 3=−, 4=+}, GL = 1 − (2/3)² − (1/3)² ≈ 0.444, size 3/4. Right: {7=+}, GR = 0, size 1/4. Weighted G = 0.75·0.444 + 0.25·0 ≈ 0.333.
Step 3: Both splits tie in weighted Gini (0.333). Both give a decrease of 0.375 − 0.333 = 0.042. A tie-breaking rule (lower index feature / leftmost threshold) picks one.